﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/main.Master" CodeBehind="StoryBoard.aspx.vb" Inherits="moviesblogspot.StoryBoard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    DataSourceID="SqlDataSource1" CellPadding="4" ForeColor="#333333" 
        GridLines="None" Width="831px" HorizontalAlign ="Center" >
        <AlternatingRowStyle BackColor="White" />
    <Columns>
        <asp:BoundField DataField="UserName" HeaderText="UserName" 
            SortExpression="UserName" />
        <asp:BoundField DataField="CreatedDate" HeaderText="CreatedDate" 
            SortExpression="CreatedDate" />
        <asp:HyperLinkField DataNavigateUrlFields="Topics" 
            DataNavigateUrlFormatString="Comments.aspx?ID={0}" DataTextField="Topics" 
            HeaderText="TopicsDiscussed" />
            </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
        <SortedAscendingCellStyle BackColor="#FDF5AC" />
        <SortedAscendingHeaderStyle BackColor="#4D0000" />
        <SortedDescendingCellStyle BackColor="#FCF6C0" />
        <SortedDescendingHeaderStyle BackColor="#820000" />

<SortedAscendingCellStyle BackColor="#FDF5AC"></SortedAscendingCellStyle>

<SortedAscendingHeaderStyle BackColor="#4D0000"></SortedAscendingHeaderStyle>

<SortedDescendingCellStyle BackColor="#FCF6C0"></SortedDescendingCellStyle>

<SortedDescendingHeaderStyle BackColor="#820000"></SortedDescendingHeaderStyle>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:MovieConnectionString %>" 
    ProviderName="<%$ ConnectionStrings:MovieConnectionString.ProviderName %>" 
    
    SelectCommand="SELECT [Userid],[UserName], [Topics], [CreatedDate],[NoComments]FROM [sbwithName]">
</asp:SqlDataSource>

&nbsp;
<br />
    <asp:Label ID="Label4" runat="server" Text="New Story Board Discussion" 
        BackColor="#990000" BorderStyle="Solid" Font-Bold="True" Font-Size="Larger" 
        ForeColor="White"></asp:Label>             
    <br />
    <br />
    <asp:Label ID="Label5" runat="server" Text="TOPIC:-" BackColor="#990000" 
        Font-Bold="True" Font-Size="Medium" ForeColor="White"></asp:Label>
    <asp:TextBox ID="TextBox1" runat="server" Width="387px"></asp:TextBox><br />
    &nbsp;&nbsp;&nbsp;
    <br />
      <asp:Label ID="Label6" runat="server" Text="STORY:-" BackColor="#990000" 
        Font-Bold="True" Font-Size="Medium" ForeColor="White"></asp:Label>
     <asp:TextBox ID="TextBox2" runat="server" Height="62px" TextMode="MultiLine" 
                Width="388px"></asp:TextBox><br />

                <br />
            
            <asp:Button ID="Button1" runat="server" Text="SUBMIT" Width="99px" 
        BackColor="#990000" BorderStyle="Solid" ForeColor="White" 
        Font-Bold="True" />
            <br />
            <br />
            <br />
            <br /> 

</asp:Content>
